package yyh.jaccard.bean;

public class DrugDependenceOfPrescriptionsBean {
	
	private String case_srccode;
	private String fangji_code1;
	private String fangji_symbol;
	private String fangji_code2;
	private String jaccardValue;
	
	
	@Override
	public String toString() {
		return "DrugDependenceOfPrescriptionsBean [case_srccode="
				+ case_srccode + ", fangji_code1=" + fangji_code1
				+ ", fangji_symbol=" + fangji_symbol + ", fangji_code2="
				+ fangji_code2 + ", jaccardValue=" + jaccardValue + "]";
	}


	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((case_srccode == null) ? 0 : case_srccode.hashCode());
		result = prime * result
				+ ((fangji_code1 == null) ? 0 : fangji_code1.hashCode());
		result = prime * result
				+ ((fangji_code2 == null) ? 0 : fangji_code2.hashCode());
		result = prime * result
				+ ((fangji_symbol == null) ? 0 : fangji_symbol.hashCode());
		result = prime * result
				+ ((jaccardValue == null) ? 0 : jaccardValue.hashCode());
		return result;
	}


	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		DrugDependenceOfPrescriptionsBean other = (DrugDependenceOfPrescriptionsBean) obj;
		if (case_srccode == null) {
			if (other.case_srccode != null)
				return false;
		} else if (!case_srccode.equals(other.case_srccode))
			return false;
		if (fangji_code1 == null) {
			if (other.fangji_code1 != null)
				return false;
		} else if (!fangji_code1.equals(other.fangji_code1))
			return false;
		if (fangji_code2 == null) {
			if (other.fangji_code2 != null)
				return false;
		} else if (!fangji_code2.equals(other.fangji_code2))
			return false;
		if (fangji_symbol == null) {
			if (other.fangji_symbol != null)
				return false;
		} else if (!fangji_symbol.equals(other.fangji_symbol))
			return false;
		if (jaccardValue == null) {
			if (other.jaccardValue != null)
				return false;
		} else if (!jaccardValue.equals(other.jaccardValue))
			return false;
		return true;
	}


	public String getFangji_symbol() {
		return fangji_symbol;
	}
	public void setFangji_symbol(String fangji_symbol) {
		this.fangji_symbol = fangji_symbol;
	}
	public String getCase_srccode() {
		return case_srccode;
	}
	public void setCase_srccode(String case_srccode) {
		this.case_srccode = case_srccode;
	}
	public String getFangji_code1() {
		return fangji_code1;
	}
	public void setFangji_code1(String fangji_code1) {
		this.fangji_code1 = fangji_code1;
	}
	public String getFangji_code2() {
		return fangji_code2;
	}
	public void setFangji_code2(String fangji_code2) {
		this.fangji_code2 = fangji_code2;
	}
	public String getJaccardValue() {
		return jaccardValue;
	}
	public void setJaccardValue(String jaccardValue) {
		this.jaccardValue = jaccardValue;
	}
	
	

}
